package com.giscloud.dynamicsql.dao;

import com.giscloud.dynamicsql.entity.DynamicSqlCfg;
import com.giscloud.dynamicsql.entity.DynamicSqlCfgExample;
import java.util.List;
import org.apache.ibatis.annotations.Param;

public interface DynamicSqlCfgMapper {
    long countByExample(DynamicSqlCfgExample example);

    int deleteByExample(DynamicSqlCfgExample example);

    int deleteByPrimaryKey(Integer id);

    int insert(DynamicSqlCfg record);

    int insertSelective(DynamicSqlCfg record);

    List<DynamicSqlCfg> selectByExample(DynamicSqlCfgExample example);

    DynamicSqlCfg selectByPrimaryKey(Integer id);

    int updateByExampleSelective(@Param("record") DynamicSqlCfg record, @Param("example") DynamicSqlCfgExample example);

    int updateByExample(@Param("record") DynamicSqlCfg record, @Param("example") DynamicSqlCfgExample example);

    int updateByPrimaryKeySelective(DynamicSqlCfg record);

    int updateByPrimaryKey(DynamicSqlCfg record);
}